﻿using HCQ2_Model.VRDD.OutputDto._210908;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VRDD.OutputDto._0714
{
    /// <summary>
    ///  获取店铺所有商品的折扣信息
    /// </summary>
    public  class OutputGoodRate
    {
        /// <summary>
        ///  商品id
        /// </summary>
        public int file_id { get; set; }
        /// <summary>
        ///  商品名称
        /// </summary>
        public string fileName { get; set; }
        /// <summary>
        ///  是否已售馨 
        /// </summary>
        public bool isSoldOut { get; set; }
        /// <summary>
        ///  商品横向缩略图
        /// </summary>
        public string fileImage { get; set; }
        /// <summary>
        ///  是否实物商品
        /// </summary>
        public bool isEntity { get; set; }
        /// <summary>
        ///  购买次数
        /// </summary>
        public int payNum { get; set; }
        /// <summary>
        ///  商铺ID
        /// </summary>
        public int storeID { get; set; }
        /// <summary>
        ///  所属目录ID
        /// </summary>
        public int folderID { get; set; }
        /// <summary>
        ///  登录用户是否已收藏
        /// </summary>
        public bool isHold { get; set; }
        /// <summary>
        ///  登录用户是否已点赞
        /// </summary>
        public bool isStar { get; set; }
        /// <summary>
        ///  商品最低价格（原始价）
        /// </summary>
        public decimal filePrice { get; set; }
        /// <summary>
        ///  0级折扣价
        /// </summary>
        public decimal ratePrice { get; set; }
        /// <summary>
        ///  0级折扣率
        /// </summary>
        public decimal rate0 { get; set; }
        /// <summary>
        ///  商品规格列表 
        /// </summary>
        public List<GoodsSizeModel> specList { get; set; }
        /// <summary>
        ///  缩略图
        /// </summary>
        public List<T_DocBagFileRecord> photoOption { get; set; }
        /// <summary>
        ///  折扣明细
        /// </summary>
        public List<GoodRateList> rate { get; set; }
    }
    /// <summary>
    ///  折扣明细
    /// </summary>
    public class GoodRateList
    {
        /// <summary>
        ///  配置id
        /// </summary>
        public int id { get; set; }
        /// <summary>
        ///  用户等级
        /// </summary>
        public int user_level { get; set; }
        /// <summary>
        ///  折扣
        /// </summary>
        public decimal rate { get; set; }
        /// <summary>
        ///  备注
        /// </summary>
        public string note { get; set; }
    }
}